package com.glory.brepda.entity;

import java.util.ArrayList;

public class BomEntity {
    private ArrayList<StepEntity> STEPLIST;
    private ArrayList<ToolBomLineEntity> TOOLBOMLINELIST;
    private String CHIPNAME;
    private String CHIPLOTID;
    private String TOOLID;
    private String TOOLNAME;
    private String TOOLSPEC;
    private String PARTNAME;
    private String STEPNAME;
    private String ISALTERNATE;

    public ArrayList<ToolBomLineEntity> getTOOLBOMLINELIST() {
        if (TOOLBOMLINELIST == null) {
            return new ArrayList<>();
        }
        return TOOLBOMLINELIST;
    }

    public void setTOOLBOMLINELIST(ArrayList<ToolBomLineEntity> TOOLBOMLINELIST) {
        this.TOOLBOMLINELIST = TOOLBOMLINELIST;
    }

    public ArrayList<BomEntity.StepEntity> getSTEPLIST() {
        if (STEPLIST == null) {
            return new ArrayList<>();
        }
        return STEPLIST;
    }

    public String getISALTERNATE() {
        return ISALTERNATE == null ? "" : ISALTERNATE;
    }

    public void setISALTERNATE(String ISALTERNATE) {
        this.ISALTERNATE = ISALTERNATE;
    }

    public String getSTEPNAME() {
        return STEPNAME == null ? "" : STEPNAME;
    }

    public void setSTEPNAME(String STEPNAME) {
        this.STEPNAME = STEPNAME;
    }

    public void setSTEPLIST(ArrayList<BomEntity.StepEntity> STEPLIST) {
        this.STEPLIST = STEPLIST;
    }

    public String getCHIPNAME() {
        return CHIPNAME == null ? "" : CHIPNAME;
    }

    public void setCHIPNAME(String CHIPNAME) {
        this.CHIPNAME = CHIPNAME;
    }

    public String getCHIPLOTID() {
        return CHIPLOTID == null ? "" : CHIPLOTID;
    }

    public void setCHIPLOTID(String CHIPLOTID) {
        this.CHIPLOTID = CHIPLOTID;
    }

    public String getTOOLID() {
        return TOOLID == null ? "" : TOOLID;
    }

    public void setTOOLID(String TOOLID) {
        this.TOOLID = TOOLID;
    }

    public String getTOOLNAME() {
        return TOOLNAME == null ? "" : TOOLNAME;
    }

    public void setTOOLNAME(String TOOLNAME) {
        this.TOOLNAME = TOOLNAME;
    }

    public String getTOOLSPEC() {
        return TOOLSPEC == null ? "" : TOOLSPEC;
    }

    public void setTOOLSPEC(String TOOLSPEC) {
        this.TOOLSPEC = TOOLSPEC;
    }

    public String getPARTNAME() {
        return PARTNAME == null ? "" : PARTNAME;
    }

    public void setPARTNAME(String PARTNAME) {
        this.PARTNAME = PARTNAME;
    }

    public static class StepEntity {
        private String NAME;
        private String DESCRIPTION;

        public String getNAME() {
            return NAME == null ? "" : NAME;
        }

        public void setNAME(String NAME) {
            this.NAME = NAME;
        }

        public String getDESCRIPTION() {
            return DESCRIPTION == null ? "" : DESCRIPTION;
        }

        public void setDESCRIPTION(String DESCRIPTION) {
            this.DESCRIPTION = DESCRIPTION;
        }
    }

    public class ToolBomLineEntity {
        private String TOOLBOMRRN;
        private String SEQNO;
        private String TOOLSPEC;
        private String STEPNAME;
        private String STEPVERSION;
        private String MATERIALRRN;
        private String MATERIALNAME;
        private String MATERIALVERSION;
        private String MATERIALDESC;
        private String TOOLLIFE;
        private String ISMAIN;
        private String ISCRITICAL;
        private String ISALTERNATE;
        private String NAME;
        private String RESERVED1;

        public String getTOOLBOMRRN() {
            return TOOLBOMRRN == null ? "" : TOOLBOMRRN;
        }

        public void setTOOLBOMRRN(String TOOLBOMRRN) {
            this.TOOLBOMRRN = TOOLBOMRRN;
        }

        public String getSEQNO() {
            return SEQNO == null ? "" : SEQNO;
        }

        public void setSEQNO(String SEQNO) {
            this.SEQNO = SEQNO;
        }

        public String getTOOLSPEC() {
            return TOOLSPEC == null ? "" : TOOLSPEC;
        }

        public void setTOOLSPEC(String TOOLSPEC) {
            this.TOOLSPEC = TOOLSPEC;
        }

        public String getSTEPNAME() {
            return STEPNAME == null ? "" : STEPNAME;
        }

        public void setSTEPNAME(String STEPNAME) {
            this.STEPNAME = STEPNAME;
        }

        public String getSTEPVERSION() {
            return STEPVERSION == null ? "" : STEPVERSION;
        }

        public void setSTEPVERSION(String STEPVERSION) {
            this.STEPVERSION = STEPVERSION;
        }

        public String getMATERIALRRN() {
            return MATERIALRRN == null ? "" : MATERIALRRN;
        }

        public void setMATERIALRRN(String MATERIALRRN) {
            this.MATERIALRRN = MATERIALRRN;
        }

        public String getMATERIALNAME() {
            return MATERIALNAME == null ? "" : MATERIALNAME;
        }

        public void setMATERIALNAME(String MATERIALNAME) {
            this.MATERIALNAME = MATERIALNAME;
        }

        public String getMATERIALVERSION() {
            return MATERIALVERSION == null ? "" : MATERIALVERSION;
        }

        public void setMATERIALVERSION(String MATERIALVERSION) {
            this.MATERIALVERSION = MATERIALVERSION;
        }

        public String getMATERIALDESC() {
            return MATERIALDESC == null ? "" : MATERIALDESC;
        }

        public void setMATERIALDESC(String MATERIALDESC) {
            this.MATERIALDESC = MATERIALDESC;
        }

        public String getTOOLLIFE() {
            return TOOLLIFE == null ? "" : TOOLLIFE;
        }

        public void setTOOLLIFE(String TOOLLIFE) {
            this.TOOLLIFE = TOOLLIFE;
        }

        public String getISMAIN() {
            return ISMAIN == null ? "" : ISMAIN;
        }

        public void setISMAIN(String ISMAIN) {
            this.ISMAIN = ISMAIN;
        }

        public String getISCRITICAL() {
            return ISCRITICAL == null ? "" : ISCRITICAL;
        }

        public void setISCRITICAL(String ISCRITICAL) {
            this.ISCRITICAL = ISCRITICAL;
        }

        public String getISALTERNATE() {
            return ISALTERNATE == null ? "" : ISALTERNATE;
        }

        public void setISALTERNATE(String ISALTERNATE) {
            this.ISALTERNATE = ISALTERNATE;
        }

        public String getNAME() {
            return NAME == null ? "" : NAME;
        }

        public void setNAME(String NAME) {
            this.NAME = NAME;
        }

        public String getRESERVED1() {
            return RESERVED1 == null ? "" : RESERVED1;
        }

        public void setRESERVED1(String RESERVED1) {
            this.RESERVED1 = RESERVED1;
        }
    }
}
